package com.itsu.app.service;

import com.itsu.interfaces.entity.Announcement;
import com.itsu.interfaces.service.AnnouncementService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AppAnnouncementService {

    @Reference
    AnnouncementService announcementService;

    public List<Announcement> findAll() {
        return announcementService.findAll();
    }
}
